package com.bwie.vo;

import com.baomidou.mybatisplus.extension.api.R;

/**
 * @author : xiaogao
 * @date : 2024-11-16 11:48
 * @description :
 **/
public enum RoleEnum {
    ROLE_USER(0, "普通用户"),

    ROLE_SHOPPER(1,"商家"),

    ROLE_ADMIN(2,"管理员");

    private Integer code;
    private String name;

    RoleEnum(Integer code,String desc){
        this.code = code;
        this.name = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}